Carbon


DocOpenMethod Constants

Header: Translation.h

enum {
    domCannot = 0,
    domNative = 1,
    domTranslateFirst = 2,
    domWildcard = 3
};

Constant descriptions

domCannot

Indicates that the application cannot open the document.

domNative

Indicates that the application can open the document natively.

domTranslateFirst

Indicates that the application can open the document only after it’s been translated.

domWildcard

Indicates that the application has the file type '****' in its list of the file types that it can open and hence can open any type of document.

The CanDocBeOpened function uses the following constants to specify the method for opening a given document.


© 2000 Apple Computer, Inc. — (Last Updated 3/23/2000)